package top.maof.book.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.maof.book.model.Role;
import top.maof.book.result.PageData;
import top.maof.book.result.PageWrap;

/**
 * Created by CodeX4J.
 */

public interface RoleService extends IService<Role> {
    public PageData<Role> findPage(PageWrap<Role> pageWrap);

    public int add(Role role);

    public Role find(int id);

    public int update(Role role);

    public int delete(int id);
}
